﻿using System.Windows;
using Red.Core.GoogleAnalytics;

namespace Red.Launcher
{
    public partial class PackagesView
    {
        readonly string _analyticsCategory = typeof( PackagesView ).Name;
        
        partial void InitializeAnalytics()
        {
            _adminVoteRatingsConfiguration.Click += ( object sender, RoutedEventArgs e ) => { GoogleAnalyticsService.Instance.SendEvent( "Admin Ratings Configuration", _analyticsCategory ); };
        }
    }
}
